﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="AdminterEnterprise.aspx.cs" Inherits="TakeoutMangesWeb.AdminterEnterprise" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Repeater ID="RptEnterprise" runat="server">
        <HeaderTemplate><table style="margin:0 auto" class="layui-table layui-form">
                <th>商家编号</th>
                <th>商家名称</th>
                <th>商家电话</th>
                <th>商家地址</th>
                <th>状态</th>
                <th>订单数量</th>
                <th>操作</th>
                </HeaderTemplate>
        <ItemTemplate>
          <tr>
             <td><%#Eval("EnterpriseID") %></td>
             <td><%#Eval("EnterpriseName") %></td>
             <td><%#Eval("EnterpriseTel") %></td>
             <td><%#Eval("EnterpriseAdress") %></td>
             <td><%#Eval("Isdelete").ToString()=="0"?"未删除":"已删除" %></td>
             <td></td>
              <td>
                  <a class="layui-btn layui-btn-danger" href="/MyHandler/UpdateEnterpriseHandler.ashx?id=<%#Eval("EnterpriseID") %>" >删除</a>
                  <a  class="layui-btn layui-btn-normal layui-btn-mini" href="/MyHandler/AddEnterpriseHandler.ashx?id=<%#Eval("EnterpriseID") %>" >添加</a>
              </td>
         </tr></ItemTemplate>
        <FooterTemplate></table></FooterTemplate>
    </asp:Repeater>
</asp:Content>
